import SMERouter from 'sme-router';
import routes from "./router";
window.router = new SMERouter('root',"html5");

routes.forEach(item=>{
	router.route(item.path,item.element)
})